import Vue from "vue";
import App from "./App.vue";
import router from "./router/index";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import "./assets/index.css";

import * as echarts from "echarts";
import china from "./data/china.json";
import hubei from "./data/hubei.json";
echarts.registerMap("china", china);
echarts.registerMap("hubei", hubei);

Vue.config.productionTip = false;

Vue.use(ElementUI);

new Vue({
  router,
  render: h => h(App)
}).$mount("#app");
